package cn.ydt.ydt.community.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;

/**
 * 修改用户信息的DTO
 * @author Administrator
 */
@Data
public class ModifySingInInfoDTO {
    private static final String VALIDATE_MESSAGE_PREFIX = "修改失败,";

    /**
     * 签到用户id
     */
    @ApiModelProperty(value = "签到用户id", name = "userId" , example = "1" ,required = false)
    @NotNull(message = VALIDATE_MESSAGE_PREFIX + "用户ID不能为空" )
    private Long userId;
    /**
     * 健康状态
     */
    @ApiModelProperty(value = "用户健康状况", name = "status" , example = "1",required = true)
    private Integer status;


    /**
     * 体温
     */
    @ApiModelProperty(value = "用户体温", name = "temperature" , example = "36.5",required = true)
    private Double temperature;

    /**
     * 接种疫苗情况
     */
    @ApiModelProperty(value = "用户接种疫苗情况", name = "qrvaccine" , example = "2",required = true)
    private Integer qrvaccine;

}
